﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DotSpatial.Geometries;
using DotSpatial.Data;



namespace HuanGis
{
    class FLineShape:FShape 
    {
        public FLineShape(List<Coordinate> Points, string id)
            : base(id)
        {
            this.ComputePoints(Points.ToArray());
        }

        protected void ComputePoints(Coordinate[] coors)
        {
            if (coors.Length > 0)
            {
                this.normalPts.Clear();
                this.KeyPts.Clear();

                this.normalPts.AddRange(coors);

                this.KeyPts.AddRange(coors);

            }

        }



    }
}
